/**
 *  Not directly derived from Hill_Mesh, but groups
 *  Hill_Cube objects in an easily drawable array
 *  
 */

#ifndef HILL_BLOCK_GROUP
#define HILL_BLOCK_GROUP

//include the Hill_Cube class
#ifndef HILL_CUBE
#include "Hill_Cube.h"
#endif


class Hill_Block_Group
{
	//internal pointer to Hill_Cube objects
	//simulates a 2D array with a 1D array internally
	Hill_Cube* cubes;
	//holds its own width and depth
	int width, depth;
	
public:
	//CTOR
	Hill_Block_Group(int WIDTH, int DEPTH);
	//uninitialized CTOR
	Hill_Block_Group() { }
	//DTOR
	~Hill_Block_Group();
	//chains down to each Hill_Cube, translates + draws accordingly
	void draw();
	//getter methods
	int getDepth() { return depth; }
	int getWidth() { return width; }
	//setter method
	void setWidth_and_Depth(int WIDTH, int DEPTH);

};


#endif